package com.kai.service.data.request.user;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserColumnRequest {

    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空")
    private Long userId;

    /**
     * 专栏名称
     */
    @NotBlank(message = "专栏名称不能为空")
    private String columnName;
}
